package com.ccc3gc.mysystem.mapper;

import com.ccc3gc.mysystem.VO.UserVO;
import com.ccc3gc.mysystem.bean.User;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;


@Mapper
public interface UserMapper {
    //查询用户
    List<User> selectuser(User user);
    //根据Id查询用户详情
    UserVO selectUserById(int userId);
    User selectUserLogin(User user);
    //新增用户
    int insterUser(User user);
    //上传
    int insertUserBatch(List<User> userList);
    //修改用户信息
    int updateUser(User user);
    //根据id删除用户
    int deleteUserById(int userId);
    //批量删除
    int deleteUserByIds(List<Integer> userIds);

}
